import state from './state'
import getters from './getters'
import mutations from './mutations'
import actions from './actions'
import Vue from 'vue'
import '../js/vuex.js'
console.log(window.Vuex)
Vue.use(window.Vuex)

const store = new window.Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  strict: process.env.NODE_ENV !== 'production',
})

window.store = store

export default store
